﻿namespace HRM.CORE
{
    using DevExpress.Utils;
    using DevExpress.XtraEditors;
    using DevExpress.XtraEditors.Controls;
    using DevExpress.XtraLayout;
    using DevExpress.XtraLayout.Utils;
    using DevExpress.XtraTab;
    using APP.HELPER;
    using Common.Class; using APP.HELPER.Utils.Language; using Security.Security; using Dictionary.ERP;
    using HRM.CORE;
    using System; using Extra.ERP;
    using System.ComponentModel;
    using System.Drawing;
    using System.Runtime.CompilerServices;
    using System.Windows.Forms; using Common;
    using Security.ERP;
    using Extra.ERP;

    public class xucTrainingAdd : Common.xucBaseAddH
    {
        private CalcEdit calMoneyAllCompany;
        private CalcEdit calMoneyAllEmployee;
        private CalcEdit calMoneyAllTotal;
        private CalcEdit calMoneyOneCompany;
        private CalcEdit calMoneyOneEmployee;
        private CalcEdit calMoneyOneTotal;
        private CalcEdit calMoneyTotal;
        private CalcEdit calQuantity;
        private ComboBoxEdit cboStatus;
        private IContainer components = null;
        private DateEdit dtDecideDate;
        private DateEdit dtPerformFromDate;
        private DateEdit dtPerformToDate;
        private DateEdit dtPrepareFromDate;
        private DateEdit dtPrepareToDate;
        private DateEdit dtRegisterFromDate;
        private DateEdit dtRegisterToDate;
        private EmptySpaceItem emptySpaceItem1;
        private EmptySpaceItem emptySpaceItem2;
        private EmptySpaceItem emptySpaceItem3;
        private EmptySpaceItem emptySpaceItem4;
        private GroupBox groupBox1;
        private GroupBox groupBox2;
        private GroupBox groupBox3;
        private GroupBox groupBox4;
        private GroupBox groupBox5;
        private GroupBox groupBox6;
        private GroupBox groupBox7;
        private LabelControl labelControl15;
        private LayoutControl layoutControl1;
        private LayoutControl layoutControl10;
        private LayoutControl layoutControl2;
        private LayoutControl layoutControl3;
        private LayoutControl layoutControl4;
        private LayoutControl layoutControl5;
        private LayoutControl layoutControl6;
        private LayoutControl layoutControl7;
        private LayoutControl layoutControl8;
        private LayoutControl layoutControl9;
        private LayoutControlGroup layoutControlGroup1;
        private LayoutControlGroup layoutControlGroup10;
        private LayoutControlGroup layoutControlGroup2;
        private LayoutControlGroup layoutControlGroup3;
        private LayoutControlGroup layoutControlGroup4;
        private LayoutControlGroup layoutControlGroup5;
        private LayoutControlGroup layoutControlGroup6;
        private LayoutControlGroup layoutControlGroup7;
        private LayoutControlGroup layoutControlGroup8;
        private LayoutControlGroup layoutControlGroup9;
        private LayoutControlItem layoutControlItem1;
        private LayoutControlItem layoutControlItem10;
        private LayoutControlItem layoutControlItem11;
        private LayoutControlItem layoutControlItem12;
        private LayoutControlItem layoutControlItem13;
        private LayoutControlItem layoutControlItem14;
        private LayoutControlItem layoutControlItem15;
        private LayoutControlItem layoutControlItem16;
        private LayoutControlItem layoutControlItem17;
        private LayoutControlItem layoutControlItem18;
        private LayoutControlItem layoutControlItem19;
        private LayoutControlItem layoutControlItem2;
        private LayoutControlItem layoutControlItem20;
        private LayoutControlItem layoutControlItem21;
        private LayoutControlItem layoutControlItem22;
        private LayoutControlItem layoutControlItem23;
        private LayoutControlItem layoutControlItem24;
        private LayoutControlItem layoutControlItem25;
        private LayoutControlItem layoutControlItem26;
        private LayoutControlItem layoutControlItem27;
        private LayoutControlItem layoutControlItem28;
        private LayoutControlItem layoutControlItem29;
        private LayoutControlItem layoutControlItem3;
        private LayoutControlItem layoutControlItem30;
        private LayoutControlItem layoutControlItem31;
        private LayoutControlItem layoutControlItem32;
        private LayoutControlItem layoutControlItem33;
        private LayoutControlItem layoutControlItem34;
        private LayoutControlItem layoutControlItem35;
        private LayoutControlItem layoutControlItem36;
        private LayoutControlItem layoutControlItem37;
        private LayoutControlItem layoutControlItem38;
        private LayoutControlItem layoutControlItem39;
        private LayoutControlItem layoutControlItem4;
        private LayoutControlItem layoutControlItem40;
        private LayoutControlItem layoutControlItem41;
        private LayoutControlItem layoutControlItem42;
        private LayoutControlItem layoutControlItem5;
        private LayoutControlItem layoutControlItem6;
        private LayoutControlItem layoutControlItem7;
        private LayoutControlItem layoutControlItem8;
        private LayoutControlItem layoutControlItem9;
        private TextEdit txtCertificate;
        private TextEdit txtDecideNumber;
        private TextEdit txtDecidePerson;
        private MemoEdit txtDescription;
        private TextEdit txtForm;
        private TextEdit txtID;
        private TextEdit txtLocation;
        private TextEdit txtNAME;
        private TextEdit txtPartnerAddress;
        private TextEdit txtPartnerEmail;
        private TextEdit txtPartnerFax;
        private TextEdit txtPartnerName;
        private TextEdit txtPartnerPhone;
        private TextEdit txtPartnerWebsite;
        private TextEdit txtPersonAddress;
        private TextEdit txtPersonEmail;
        private TextEdit txtPersonName;
        private TextEdit txtPersonPhone;
        private TextEdit txtPersonPosition;
        private MemoEdit txtPurpose;
        private XtraTabControl xtraTabControl1;
        private XtraTabPage xtraTabPage1;
        private XtraTabPage xtraTabPage2;
        private XtraTabPage xtraTabPage3;

        public event SuccessEventHander Success;

        public xucTrainingAdd()
        {
            this.InitializeComponent();
            this.InitComponent();
        }

        protected override void Add()
        {
            base.Add();
            this.txtID.Text = new HRM_TRAINING().NewID();
        }

        public void Clear()
        {
            this.InitComponent();
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        protected override void Init()
        {
        }

        private void InitComponent()
        {
            this.dtDecideDate.DateTime = System.DateTime.Now;
            this.dtPrepareFromDate.DateTime = System.DateTime.Now;
            this.dtPrepareToDate.DateTime = System.DateTime.Now;
            this.dtRegisterFromDate.DateTime = System.DateTime.Now;
            this.dtRegisterToDate.DateTime = System.DateTime.Now;
            this.dtPerformFromDate.DateTime = System.DateTime.Now;
            this.dtPerformToDate.DateTime = System.DateTime.Now;
            this.calQuantity.EditValue = 0;
            this.calMoneyTotal.EditValue = 0;
            this.calMoneyOneEmployee.EditValue = 0;
            this.calMoneyOneCompany.EditValue = 0;
            this.calMoneyOneTotal.EditValue = 0;
            this.calMoneyAllEmployee.EditValue = 0;
            this.calMoneyAllCompany.EditValue = 0;
            this.calMoneyAllTotal.EditValue = 0;
        }

        private void InitializeComponent()
        {
            ComponentResourceManager manager = new ComponentResourceManager(typeof(xucTrainingAdd));
            this.xtraTabControl1 = new XtraTabControl();
            this.xtraTabPage1 = new XtraTabPage();
            this.layoutControl1 = new LayoutControl();
            this.txtCertificate = new TextEdit();
            this.txtDecidePerson = new TextEdit();
            this.dtDecideDate = new DateEdit();
            this.txtDecideNumber = new TextEdit();
            this.txtLocation = new TextEdit();
            this.txtForm = new TextEdit();
            this.txtPurpose = new MemoEdit();
            this.txtDescription = new MemoEdit();
            this.txtNAME = new TextEdit();
            this.txtID = new TextEdit();
            this.layoutControlGroup1 = new LayoutControlGroup();
            this.layoutControlItem1 = new LayoutControlItem();
            this.layoutControlItem2 = new LayoutControlItem();
            this.layoutControlItem3 = new LayoutControlItem();
            this.layoutControlItem4 = new LayoutControlItem();
            this.layoutControlItem5 = new LayoutControlItem();
            this.layoutControlItem6 = new LayoutControlItem();
            this.layoutControlItem15 = new LayoutControlItem();
            this.layoutControlItem16 = new LayoutControlItem();
            this.layoutControlItem17 = new LayoutControlItem();
            this.layoutControlItem7 = new LayoutControlItem();
            this.xtraTabPage2 = new XtraTabPage();
            this.layoutControl2 = new LayoutControl();
            this.calMoneyTotal = new CalcEdit();
            this.groupBox5 = new GroupBox();
            this.layoutControl6 = new LayoutControl();
            this.dtPrepareToDate = new DateEdit();
            this.dtPrepareFromDate = new DateEdit();
            this.layoutControlGroup6 = new LayoutControlGroup();
            this.layoutControlItem24 = new LayoutControlItem();
            this.layoutControlItem25 = new LayoutControlItem();
            this.groupBox4 = new GroupBox();
            this.layoutControl7 = new LayoutControl();
            this.dtRegisterToDate = new DateEdit();
            this.dtRegisterFromDate = new DateEdit();
            this.layoutControlGroup7 = new LayoutControlGroup();
            this.layoutControlItem26 = new LayoutControlItem();
            this.layoutControlItem27 = new LayoutControlItem();
            this.groupBox3 = new GroupBox();
            this.layoutControl8 = new LayoutControl();
            this.dtPerformToDate = new DateEdit();
            this.dtPerformFromDate = new DateEdit();
            this.layoutControlGroup8 = new LayoutControlGroup();
            this.layoutControlItem28 = new LayoutControlItem();
            this.layoutControlItem29 = new LayoutControlItem();
            this.groupBox2 = new GroupBox();
            this.layoutControl4 = new LayoutControl();
            this.calMoneyOneTotal = new CalcEdit();
            this.calMoneyOneCompany = new CalcEdit();
            this.calMoneyOneEmployee = new CalcEdit();
            this.layoutControlGroup4 = new LayoutControlGroup();
            this.layoutControlItem18 = new LayoutControlItem();
            this.layoutControlItem19 = new LayoutControlItem();
            this.layoutControlItem20 = new LayoutControlItem();
            this.groupBox1 = new GroupBox();
            this.layoutControl5 = new LayoutControl();
            this.calMoneyAllTotal = new CalcEdit();
            this.calMoneyAllCompany = new CalcEdit();
            this.calMoneyAllEmployee = new CalcEdit();
            this.layoutControlGroup5 = new LayoutControlGroup();
            this.layoutControlItem21 = new LayoutControlItem();
            this.layoutControlItem22 = new LayoutControlItem();
            this.layoutControlItem23 = new LayoutControlItem();
            this.calQuantity = new CalcEdit();
            this.layoutControlGroup2 = new LayoutControlGroup();
            this.layoutControlItem8 = new LayoutControlItem();
            this.layoutControlItem9 = new LayoutControlItem();
            this.layoutControlItem10 = new LayoutControlItem();
            this.layoutControlItem11 = new LayoutControlItem();
            this.layoutControlItem12 = new LayoutControlItem();
            this.layoutControlItem13 = new LayoutControlItem();
            this.layoutControlItem14 = new LayoutControlItem();
            this.emptySpaceItem1 = new EmptySpaceItem();
            this.emptySpaceItem2 = new EmptySpaceItem();
            this.emptySpaceItem4 = new EmptySpaceItem();
            this.xtraTabPage3 = new XtraTabPage();
            this.layoutControl3 = new LayoutControl();
            this.groupBox7 = new GroupBox();
            this.layoutControl10 = new LayoutControl();
            this.txtPersonEmail = new TextEdit();
            this.txtPersonAddress = new TextEdit();
            this.txtPersonPosition = new TextEdit();
            this.txtPersonName = new TextEdit();
            this.txtPersonPhone = new TextEdit();
            this.layoutControlGroup10 = new LayoutControlGroup();
            this.layoutControlItem33 = new LayoutControlItem();
            this.layoutControlItem39 = new LayoutControlItem();
            this.layoutControlItem40 = new LayoutControlItem();
            this.layoutControlItem41 = new LayoutControlItem();
            this.layoutControlItem42 = new LayoutControlItem();
            this.groupBox6 = new GroupBox();
            this.layoutControl9 = new LayoutControl();
            this.txtPartnerEmail = new TextEdit();
            this.txtPartnerWebsite = new TextEdit();
            this.txtPartnerFax = new TextEdit();
            this.txtPartnerPhone = new TextEdit();
            this.txtPartnerAddress = new TextEdit();
            this.txtPartnerName = new TextEdit();
            this.layoutControlGroup9 = new LayoutControlGroup();
            this.layoutControlItem32 = new LayoutControlItem();
            this.layoutControlItem34 = new LayoutControlItem();
            this.layoutControlItem35 = new LayoutControlItem();
            this.layoutControlItem36 = new LayoutControlItem();
            this.layoutControlItem37 = new LayoutControlItem();
            this.layoutControlItem38 = new LayoutControlItem();
            this.layoutControlGroup3 = new LayoutControlGroup();
            this.layoutControlItem30 = new LayoutControlItem();
            this.layoutControlItem31 = new LayoutControlItem();
            this.emptySpaceItem3 = new EmptySpaceItem();
            this.labelControl15 = new LabelControl();
            this.cboStatus = new ComboBoxEdit();
            ((ISupportInitialize) base.Err).BeginInit();
            base.imageCollection2.BeginInit();
            this.xtraTabControl1.BeginInit();
            this.xtraTabControl1.SuspendLayout();
            this.xtraTabPage1.SuspendLayout();
            this.layoutControl1.BeginInit();
            this.layoutControl1.SuspendLayout();
            this.txtCertificate.Properties.BeginInit();
            this.txtDecidePerson.Properties.BeginInit();
            this.dtDecideDate.Properties.VistaTimeProperties.BeginInit();
            this.dtDecideDate.Properties.BeginInit();
            this.txtDecideNumber.Properties.BeginInit();
            this.txtLocation.Properties.BeginInit();
            this.txtForm.Properties.BeginInit();
            this.txtPurpose.Properties.BeginInit();
            this.txtDescription.Properties.BeginInit();
            this.txtNAME.Properties.BeginInit();
            this.txtID.Properties.BeginInit();
            this.layoutControlGroup1.BeginInit();
            this.layoutControlItem1.BeginInit();
            this.layoutControlItem2.BeginInit();
            this.layoutControlItem3.BeginInit();
            this.layoutControlItem4.BeginInit();
            this.layoutControlItem5.BeginInit();
            this.layoutControlItem6.BeginInit();
            this.layoutControlItem15.BeginInit();
            this.layoutControlItem16.BeginInit();
            this.layoutControlItem17.BeginInit();
            this.layoutControlItem7.BeginInit();
            this.xtraTabPage2.SuspendLayout();
            this.layoutControl2.BeginInit();
            this.layoutControl2.SuspendLayout();
            this.calMoneyTotal.Properties.BeginInit();
            this.groupBox5.SuspendLayout();
            this.layoutControl6.BeginInit();
            this.layoutControl6.SuspendLayout();
            this.dtPrepareToDate.Properties.VistaTimeProperties.BeginInit();
            this.dtPrepareToDate.Properties.BeginInit();
            this.dtPrepareFromDate.Properties.VistaTimeProperties.BeginInit();
            this.dtPrepareFromDate.Properties.BeginInit();
            this.layoutControlGroup6.BeginInit();
            this.layoutControlItem24.BeginInit();
            this.layoutControlItem25.BeginInit();
            this.groupBox4.SuspendLayout();
            this.layoutControl7.BeginInit();
            this.layoutControl7.SuspendLayout();
            this.dtRegisterToDate.Properties.VistaTimeProperties.BeginInit();
            this.dtRegisterToDate.Properties.BeginInit();
            this.dtRegisterFromDate.Properties.VistaTimeProperties.BeginInit();
            this.dtRegisterFromDate.Properties.BeginInit();
            this.layoutControlGroup7.BeginInit();
            this.layoutControlItem26.BeginInit();
            this.layoutControlItem27.BeginInit();
            this.groupBox3.SuspendLayout();
            this.layoutControl8.BeginInit();
            this.layoutControl8.SuspendLayout();
            this.dtPerformToDate.Properties.VistaTimeProperties.BeginInit();
            this.dtPerformToDate.Properties.BeginInit();
            this.dtPerformFromDate.Properties.VistaTimeProperties.BeginInit();
            this.dtPerformFromDate.Properties.BeginInit();
            this.layoutControlGroup8.BeginInit();
            this.layoutControlItem28.BeginInit();
            this.layoutControlItem29.BeginInit();
            this.groupBox2.SuspendLayout();
            this.layoutControl4.BeginInit();
            this.layoutControl4.SuspendLayout();
            this.calMoneyOneTotal.Properties.BeginInit();
            this.calMoneyOneCompany.Properties.BeginInit();
            this.calMoneyOneEmployee.Properties.BeginInit();
            this.layoutControlGroup4.BeginInit();
            this.layoutControlItem18.BeginInit();
            this.layoutControlItem19.BeginInit();
            this.layoutControlItem20.BeginInit();
            this.groupBox1.SuspendLayout();
            this.layoutControl5.BeginInit();
            this.layoutControl5.SuspendLayout();
            this.calMoneyAllTotal.Properties.BeginInit();
            this.calMoneyAllCompany.Properties.BeginInit();
            this.calMoneyAllEmployee.Properties.BeginInit();
            this.layoutControlGroup5.BeginInit();
            this.layoutControlItem21.BeginInit();
            this.layoutControlItem22.BeginInit();
            this.layoutControlItem23.BeginInit();
            this.calQuantity.Properties.BeginInit();
            this.layoutControlGroup2.BeginInit();
            this.layoutControlItem8.BeginInit();
            this.layoutControlItem9.BeginInit();
            this.layoutControlItem10.BeginInit();
            this.layoutControlItem11.BeginInit();
            this.layoutControlItem12.BeginInit();
            this.layoutControlItem13.BeginInit();
            this.layoutControlItem14.BeginInit();
            this.emptySpaceItem1.BeginInit();
            this.emptySpaceItem2.BeginInit();
            this.emptySpaceItem4.BeginInit();
            this.xtraTabPage3.SuspendLayout();
            this.layoutControl3.BeginInit();
            this.layoutControl3.SuspendLayout();
            this.groupBox7.SuspendLayout();
            this.layoutControl10.BeginInit();
            this.layoutControl10.SuspendLayout();
            this.txtPersonEmail.Properties.BeginInit();
            this.txtPersonAddress.Properties.BeginInit();
            this.txtPersonPosition.Properties.BeginInit();
            this.txtPersonName.Properties.BeginInit();
            this.txtPersonPhone.Properties.BeginInit();
            this.layoutControlGroup10.BeginInit();
            this.layoutControlItem33.BeginInit();
            this.layoutControlItem39.BeginInit();
            this.layoutControlItem40.BeginInit();
            this.layoutControlItem41.BeginInit();
            this.layoutControlItem42.BeginInit();
            this.groupBox6.SuspendLayout();
            this.layoutControl9.BeginInit();
            this.layoutControl9.SuspendLayout();
            this.txtPartnerEmail.Properties.BeginInit();
            this.txtPartnerWebsite.Properties.BeginInit();
            this.txtPartnerFax.Properties.BeginInit();
            this.txtPartnerPhone.Properties.BeginInit();
            this.txtPartnerAddress.Properties.BeginInit();
            this.txtPartnerName.Properties.BeginInit();
            this.layoutControlGroup9.BeginInit();
            this.layoutControlItem32.BeginInit();
            this.layoutControlItem34.BeginInit();
            this.layoutControlItem35.BeginInit();
            this.layoutControlItem36.BeginInit();
            this.layoutControlItem37.BeginInit();
            this.layoutControlItem38.BeginInit();
            this.layoutControlGroup3.BeginInit();
            this.layoutControlItem30.BeginInit();
            this.layoutControlItem31.BeginInit();
            this.emptySpaceItem3.BeginInit();
            this.cboStatus.Properties.BeginInit();
            base.SuspendLayout();
            base.btnSave.Location = new Point(0x14e, 0x187);
            base.btnSave.TabIndex = 3;
            base.btnCancel.Location = new Point(0x216, 0x187);
            base.btnCancel.TabIndex = 5;
            base.btnSaveNew.Location = new Point(0x1b1, 0x187);
            base.btnSaveNew.TabIndex = 4;
            base.imageCollection2.ImageStream = (ImageCollectionStreamer) manager.GetObject("imageCollection2.ImageStream");
            this.xtraTabControl1.Dock = DockStyle.Top;
            this.xtraTabControl1.HeaderButtons = TabButtons.Default | TabButtons.Next | TabButtons.Prev;
            this.xtraTabControl1.HeaderButtonsShowMode = TabButtonShowMode.Always;
            this.xtraTabControl1.ImeMode = ImeMode.NoControl;
            this.xtraTabControl1.Location = new Point(0, 2);
            this.xtraTabControl1.Name = "xtraTabControl1";
            this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1;
            this.xtraTabControl1.Size = new Size(0x286, 0x17a);
            this.xtraTabControl1.TabIndex = 0;
            this.xtraTabControl1.TabPages.AddRange(new XtraTabPage[] { this.xtraTabPage1, this.xtraTabPage2, this.xtraTabPage3 });
            this.xtraTabPage1.Controls.Add(this.layoutControl1);
            this.xtraTabPage1.Name = "xtraTabPage1";
            this.xtraTabPage1.Size = new Size(0x27f, 0x15d);
            this.xtraTabPage1.Text = "Th\x00f4ng Tin Chung";
            this.layoutControl1.Controls.Add(this.txtCertificate);
            this.layoutControl1.Controls.Add(this.txtDecidePerson);
            this.layoutControl1.Controls.Add(this.dtDecideDate);
            this.layoutControl1.Controls.Add(this.txtDecideNumber);
            this.layoutControl1.Controls.Add(this.txtLocation);
            this.layoutControl1.Controls.Add(this.txtForm);
            this.layoutControl1.Controls.Add(this.txtPurpose);
            this.layoutControl1.Controls.Add(this.txtDescription);
            this.layoutControl1.Controls.Add(this.txtNAME);
            this.layoutControl1.Controls.Add(this.txtID);
            this.layoutControl1.Dock = DockStyle.Fill;
            this.layoutControl1.Location = new Point(0, 0);
            this.layoutControl1.Name = "layoutControl1";
            this.layoutControl1.OptionsView.AllowHotTrack = true;
            this.layoutControl1.Root = this.layoutControlGroup1;
            this.layoutControl1.Size = new Size(0x27f, 0x15d);
            this.layoutControl1.TabIndex = 0;
            this.layoutControl1.Text = "layoutControl1";
            this.txtCertificate.Location = new Point(0x73, 0x121);
            this.txtCertificate.Name = "txtCertificate";
            this.txtCertificate.Size = new Size(0x200, 20);
            this.txtCertificate.StyleController = this.layoutControl1;
            this.txtCertificate.TabIndex = 6;
            this.txtDecidePerson.Location = new Point(0x203, 0x13b);
            this.txtDecidePerson.Name = "txtDecidePerson";
            this.txtDecidePerson.Size = new Size(0x70, 20);
            this.txtDecidePerson.StyleController = this.layoutControl1;
            this.txtDecidePerson.TabIndex = 9;
            this.dtDecideDate.EditValue = null;
            this.dtDecideDate.Location = new Point(0x13a, 0x13b);
            this.dtDecideDate.Name = "dtDecideDate";
            this.dtDecideDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtDecideDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtDecideDate.Size = new Size(0x6a, 20);
            this.dtDecideDate.StyleController = this.layoutControl1;
            this.dtDecideDate.TabIndex = 8;
            this.txtDecideNumber.Location = new Point(0x73, 0x13b);
            this.txtDecideNumber.Name = "txtDecideNumber";
            this.txtDecideNumber.Size = new Size(0x6b, 20);
            this.txtDecideNumber.StyleController = this.layoutControl1;
            this.txtDecideNumber.TabIndex = 7;
            this.txtLocation.Location = new Point(0x73, 0x107);
            this.txtLocation.Name = "txtLocation";
            this.txtLocation.Size = new Size(0x200, 20);
            this.txtLocation.StyleController = this.layoutControl1;
            this.txtLocation.TabIndex = 5;
            this.txtForm.Location = new Point(0x73, 0xeb);
            this.txtForm.Name = "txtForm";
            this.txtForm.Size = new Size(0x200, 20);
            this.txtForm.StyleController = this.layoutControl1;
            this.txtForm.TabIndex = 4;
            this.txtPurpose.Location = new Point(0x73, 0xa4);
            this.txtPurpose.Name = "txtPurpose";
            this.txtPurpose.Size = new Size(0x200, 0x3f);
            this.txtPurpose.StyleController = this.layoutControl1;
            this.txtPurpose.TabIndex = 3;
            this.txtDescription.Location = new Point(0x73, 0x2a);
            this.txtDescription.Name = "txtDescription";
            this.txtDescription.Size = new Size(0x200, 0x72);
            this.txtDescription.StyleController = this.layoutControl1;
            this.txtDescription.TabIndex = 2;
            this.txtNAME.Location = new Point(0x151, 14);
            this.txtNAME.Name = "txtNAME";
            this.txtNAME.Size = new Size(290, 20);
            this.txtNAME.StyleController = this.layoutControl1;
            this.txtNAME.TabIndex = 1;
            this.txtID.Location = new Point(0x73, 14);
            this.txtID.Name = "txtID";
            this.txtID.Size = new Size(0x73, 20);
            this.txtID.StyleController = this.layoutControl1;
            this.txtID.TabIndex = 0;
            this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1";
            this.layoutControlGroup1.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup1.GroupBordersVisible = false;
            this.layoutControlGroup1.Items.AddRange(new BaseLayoutItem[] { this.layoutControlItem1, this.layoutControlItem2, this.layoutControlItem3, this.layoutControlItem4, this.layoutControlItem5, this.layoutControlItem6, this.layoutControlItem15, this.layoutControlItem16, this.layoutControlItem17, this.layoutControlItem7 });
            this.layoutControlGroup1.Location = new Point(0, 0);
            this.layoutControlGroup1.Name = "layoutControlGroup1";
            this.layoutControlGroup1.Size = new Size(0x27f, 0x15d);
            this.layoutControlGroup1.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup1.Text = "layoutControlGroup1";
            this.layoutControlGroup1.TextVisible = false;
            this.layoutControlItem1.Control = this.txtID;
            this.layoutControlItem1.CustomizationFormText = "M\x00e3 chương tr\x00ecnh:";
            this.layoutControlItem1.Location = new Point(0, 0);
            this.layoutControlItem1.Name = "layoutControlItem1";
            this.layoutControlItem1.Size = new Size(0xde, 0x1c);
            this.layoutControlItem1.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem1.Text = "M\x00e3 chương tr\x00ecnh:";
            this.layoutControlItem1.TextSize = new Size(0x63, 13);
            this.layoutControlItem2.Control = this.txtNAME;
            this.layoutControlItem2.CustomizationFormText = "T\x00ean chương tr\x00ecnh:";
            this.layoutControlItem2.Location = new Point(0xde, 0);
            this.layoutControlItem2.Name = "layoutControlItem2";
            this.layoutControlItem2.Size = new Size(0x18d, 0x1c);
            this.layoutControlItem2.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem2.Text = "T\x00ean chương tr\x00ecnh:";
            this.layoutControlItem2.TextSize = new Size(0x63, 13);
            this.layoutControlItem3.AppearanceItemCaption.Options.UseTextOptions = true;
            this.layoutControlItem3.AppearanceItemCaption.TextOptions.VAlignment = VertAlignment.Center;
            this.layoutControlItem3.AppearanceItemCaption.TextOptions.WordWrap = WordWrap.Wrap;
            this.layoutControlItem3.Control = this.txtDescription;
            this.layoutControlItem3.CustomizationFormText = "M\x00f4 tả chung:";
            this.layoutControlItem3.Location = new Point(0, 0x1c);
            this.layoutControlItem3.Name = "layoutControlItem3";
            this.layoutControlItem3.Size = new Size(0x26b, 0x7a);
            this.layoutControlItem3.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem3.Text = "M\x00f4 tả chung:";
            this.layoutControlItem3.TextSize = new Size(0x63, 13);
            this.layoutControlItem4.Control = this.txtPurpose;
            this.layoutControlItem4.CustomizationFormText = "Mục đ\x00edch đ\x00e0o tạo:";
            this.layoutControlItem4.Location = new Point(0, 150);
            this.layoutControlItem4.Name = "layoutControlItem4";
            this.layoutControlItem4.Size = new Size(0x26b, 0x47);
            this.layoutControlItem4.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem4.Text = "Mục đ\x00edch đ\x00e0o tạo:";
            this.layoutControlItem4.TextSize = new Size(0x63, 13);
            this.layoutControlItem5.Control = this.txtForm;
            this.layoutControlItem5.CustomizationFormText = "H\x00ecnh thức đ\x00e0o tạo:";
            this.layoutControlItem5.Location = new Point(0, 0xdd);
            this.layoutControlItem5.Name = "layoutControlItem5";
            this.layoutControlItem5.Size = new Size(0x26b, 0x1c);
            this.layoutControlItem5.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem5.Text = "H\x00ecnh thức đ\x00e0o tạo:";
            this.layoutControlItem5.TextSize = new Size(0x63, 13);
            this.layoutControlItem6.Control = this.txtLocation;
            this.layoutControlItem6.CustomizationFormText = "Nơi đ\x00e0o tạo:";
            this.layoutControlItem6.Location = new Point(0, 0xf9);
            this.layoutControlItem6.Name = "layoutControlItem6";
            this.layoutControlItem6.Size = new Size(0x26b, 0x1c);
            this.layoutControlItem6.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem6.Text = "Nơi đ\x00e0o tạo:";
            this.layoutControlItem6.TextSize = new Size(0x63, 13);
            this.layoutControlItem15.Control = this.txtDecideNumber;
            this.layoutControlItem15.CustomizationFormText = "Số quyết định:";
            this.layoutControlItem15.Location = new Point(0, 0x12d);
            this.layoutControlItem15.Name = "layoutControlItem15";
            this.layoutControlItem15.Size = new Size(0xd6, 0x1c);
            this.layoutControlItem15.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem15.Text = "Số quyết định:";
            this.layoutControlItem15.TextSize = new Size(0x63, 13);
            this.layoutControlItem16.Control = this.dtDecideDate;
            this.layoutControlItem16.CustomizationFormText = "Ng\x00e0y quyết định:";
            this.layoutControlItem16.Location = new Point(0xd6, 0x12d);
            this.layoutControlItem16.Name = "layoutControlItem16";
            this.layoutControlItem16.Size = new Size(0xc6, 0x1c);
            this.layoutControlItem16.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem16.Text = "Ng\x00e0y quyết định:";
            this.layoutControlItem16.TextAlignMode = TextAlignModeItem.AutoSize;
            this.layoutControlItem16.TextSize = new Size(0x53, 13);
            this.layoutControlItem16.TextToControlDistance = 5;
            this.layoutControlItem17.Control = this.txtDecidePerson;
            this.layoutControlItem17.CustomizationFormText = "Người quyết định:";
            this.layoutControlItem17.Location = new Point(0x19c, 0x12d);
            this.layoutControlItem17.Name = "layoutControlItem17";
            this.layoutControlItem17.Size = new Size(0xcf, 0x1c);
            this.layoutControlItem17.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem17.Text = "Người quyết định:";
            this.layoutControlItem17.TextAlignMode = TextAlignModeItem.AutoSize;
            this.layoutControlItem17.TextSize = new Size(0x56, 13);
            this.layoutControlItem17.TextToControlDistance = 5;
            this.layoutControlItem7.Control = this.txtCertificate;
            this.layoutControlItem7.CustomizationFormText = "Chứng chỉ được cấp:";
            this.layoutControlItem7.Location = new Point(0, 0x115);
            this.layoutControlItem7.Name = "layoutControlItem7";
            this.layoutControlItem7.Size = new Size(0x26b, 0x18);
            this.layoutControlItem7.Text = "Chứng chỉ được cấp:";
            this.layoutControlItem7.TextSize = new Size(0x63, 13);
            this.xtraTabPage2.Controls.Add(this.layoutControl2);
            this.xtraTabPage2.Name = "xtraTabPage2";
            this.xtraTabPage2.Size = new Size(0x27f, 0x15d);
            this.xtraTabPage2.Text = "Thời Gian && Chi Ph\x00ed Đ\x00e0o Tạo";
            this.layoutControl2.Controls.Add(this.calMoneyTotal);
            this.layoutControl2.Controls.Add(this.groupBox5);
            this.layoutControl2.Controls.Add(this.groupBox4);
            this.layoutControl2.Controls.Add(this.groupBox3);
            this.layoutControl2.Controls.Add(this.groupBox2);
            this.layoutControl2.Controls.Add(this.groupBox1);
            this.layoutControl2.Controls.Add(this.calQuantity);
            this.layoutControl2.Dock = DockStyle.Fill;
            this.layoutControl2.Location = new Point(0, 0);
            this.layoutControl2.Name = "layoutControl2";
            this.layoutControl2.Root = this.layoutControlGroup2;
            this.layoutControl2.Size = new Size(0x27f, 0x15d);
            this.layoutControl2.TabIndex = 0;
            this.layoutControl2.Text = "layoutControl2";
            int[] bits = new int[4];
            this.calMoneyTotal.EditValue = new decimal(bits);
            this.calMoneyTotal.Location = new Point(0x141, 14);
            this.calMoneyTotal.Name = "calMoneyTotal";
            this.calMoneyTotal.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calMoneyTotal.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.calMoneyTotal.Size = new Size(0x9e, 20);
            this.calMoneyTotal.StyleController = this.layoutControl2;
            this.calMoneyTotal.TabIndex = 1;
            this.groupBox5.Controls.Add(this.layoutControl6);
            this.groupBox5.Location = new Point(12, 0xc2);
            this.groupBox5.Name = "groupBox5";
            this.groupBox5.Size = new Size(0xcb, 0x65);
            this.groupBox5.TabIndex = 4;
            this.groupBox5.TabStop = false;
            this.groupBox5.Text = "Thời gian dự kiến";
            this.layoutControl6.Controls.Add(this.dtPrepareToDate);
            this.layoutControl6.Controls.Add(this.dtPrepareFromDate);
            this.layoutControl6.Dock = DockStyle.Fill;
            this.layoutControl6.Location = new Point(3, 0x11);
            this.layoutControl6.Name = "layoutControl6";
            this.layoutControl6.OptionsView.AllowHotTrack = true;
            this.layoutControl6.Root = this.layoutControlGroup6;
            this.layoutControl6.Size = new Size(0xc5, 0x51);
            this.layoutControl6.TabIndex = 0;
            this.layoutControl6.Text = "layoutControl6";
            this.dtPrepareToDate.EditValue = null;
            this.dtPrepareToDate.Location = new Point(0x43, 0x2a);
            this.dtPrepareToDate.Name = "dtPrepareToDate";
            this.dtPrepareToDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtPrepareToDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtPrepareToDate.Size = new Size(0x76, 20);
            this.dtPrepareToDate.StyleController = this.layoutControl6;
            this.dtPrepareToDate.TabIndex = 1;
            this.dtPrepareFromDate.EditValue = null;
            this.dtPrepareFromDate.Location = new Point(0x43, 14);
            this.dtPrepareFromDate.Name = "dtPrepareFromDate";
            this.dtPrepareFromDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtPrepareFromDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtPrepareFromDate.Size = new Size(0x76, 20);
            this.dtPrepareFromDate.StyleController = this.layoutControl6;
            this.dtPrepareFromDate.TabIndex = 0;
            this.layoutControlGroup6.CustomizationFormText = "layoutControlGroup6";
            this.layoutControlGroup6.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup6.GroupBordersVisible = false;
            this.layoutControlGroup6.Items.AddRange(new BaseLayoutItem[] { this.layoutControlItem24, this.layoutControlItem25 });
            this.layoutControlGroup6.Location = new Point(0, 0);
            this.layoutControlGroup6.Name = "layoutControlGroup6";
            this.layoutControlGroup6.Size = new Size(0xc5, 0x51);
            this.layoutControlGroup6.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup6.Text = "layoutControlGroup6";
            this.layoutControlGroup6.TextVisible = false;
            this.layoutControlItem24.Control = this.dtPrepareFromDate;
            this.layoutControlItem24.CustomizationFormText = "Từ ng\x00e0y:";
            this.layoutControlItem24.Location = new Point(0, 0);
            this.layoutControlItem24.Name = "layoutControlItem24";
            this.layoutControlItem24.Size = new Size(0xb1, 0x1c);
            this.layoutControlItem24.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem24.Text = "Từ ng\x00e0y:";
            this.layoutControlItem24.TextSize = new Size(0x33, 13);
            this.layoutControlItem25.Control = this.dtPrepareToDate;
            this.layoutControlItem25.CustomizationFormText = "Đến ng\x00e0y:";
            this.layoutControlItem25.Location = new Point(0, 0x1c);
            this.layoutControlItem25.Name = "layoutControlItem25";
            this.layoutControlItem25.Size = new Size(0xb1, 0x21);
            this.layoutControlItem25.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem25.Text = "Đến ng\x00e0y:";
            this.layoutControlItem25.TextSize = new Size(0x33, 13);
            this.groupBox4.Controls.Add(this.layoutControl7);
            this.groupBox4.Location = new Point(0xdb, 0xc2);
            this.groupBox4.Name = "groupBox4";
            this.groupBox4.Size = new Size(0xc3, 0x65);
            this.groupBox4.TabIndex = 5;
            this.groupBox4.TabStop = false;
            this.groupBox4.Text = "Thời gian đăng k\x00fd";
            this.layoutControl7.Controls.Add(this.dtRegisterToDate);
            this.layoutControl7.Controls.Add(this.dtRegisterFromDate);
            this.layoutControl7.Dock = DockStyle.Fill;
            this.layoutControl7.Location = new Point(3, 0x11);
            this.layoutControl7.Name = "layoutControl7";
            this.layoutControl7.OptionsView.AllowHotTrack = true;
            this.layoutControl7.Root = this.layoutControlGroup7;
            this.layoutControl7.Size = new Size(0xbd, 0x51);
            this.layoutControl7.TabIndex = 0;
            this.layoutControl7.Text = "layoutControl7";
            this.dtRegisterToDate.EditValue = null;
            this.dtRegisterToDate.Location = new Point(0x43, 0x2a);
            this.dtRegisterToDate.Name = "dtRegisterToDate";
            this.dtRegisterToDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtRegisterToDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtRegisterToDate.Size = new Size(110, 20);
            this.dtRegisterToDate.StyleController = this.layoutControl7;
            this.dtRegisterToDate.TabIndex = 1;
            this.dtRegisterFromDate.EditValue = null;
            this.dtRegisterFromDate.Location = new Point(0x43, 14);
            this.dtRegisterFromDate.Name = "dtRegisterFromDate";
            this.dtRegisterFromDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtRegisterFromDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtRegisterFromDate.Size = new Size(110, 20);
            this.dtRegisterFromDate.StyleController = this.layoutControl7;
            this.dtRegisterFromDate.TabIndex = 0;
            this.layoutControlGroup7.CustomizationFormText = "layoutControlGroup7";
            this.layoutControlGroup7.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup7.GroupBordersVisible = false;
            this.layoutControlGroup7.Items.AddRange(new BaseLayoutItem[] { this.layoutControlItem26, this.layoutControlItem27 });
            this.layoutControlGroup7.Location = new Point(0, 0);
            this.layoutControlGroup7.Name = "layoutControlGroup7";
            this.layoutControlGroup7.Size = new Size(0xbd, 0x51);
            this.layoutControlGroup7.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup7.Text = "layoutControlGroup7";
            this.layoutControlGroup7.TextVisible = false;
            this.layoutControlItem26.Control = this.dtRegisterFromDate;
            this.layoutControlItem26.CustomizationFormText = "Từ ng\x00e0y:";
            this.layoutControlItem26.Location = new Point(0, 0);
            this.layoutControlItem26.Name = "layoutControlItem26";
            this.layoutControlItem26.Size = new Size(0xa9, 0x1c);
            this.layoutControlItem26.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem26.Text = "Từ ng\x00e0y:";
            this.layoutControlItem26.TextSize = new Size(0x33, 13);
            this.layoutControlItem27.Control = this.dtRegisterToDate;
            this.layoutControlItem27.CustomizationFormText = "Đến ng\x00e0y:";
            this.layoutControlItem27.Location = new Point(0, 0x1c);
            this.layoutControlItem27.Name = "layoutControlItem27";
            this.layoutControlItem27.Size = new Size(0xa9, 0x21);
            this.layoutControlItem27.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem27.Text = "Đến ng\x00e0y:";
            this.layoutControlItem27.TextSize = new Size(0x33, 13);
            this.groupBox3.Controls.Add(this.layoutControl8);
            this.groupBox3.Location = new Point(0x1a2, 0xc2);
            this.groupBox3.Name = "groupBox3";
            this.groupBox3.Size = new Size(0xd1, 0x65);
            this.groupBox3.TabIndex = 6;
            this.groupBox3.TabStop = false;
            this.groupBox3.Text = "Thời gian đ\x00e0o tạo";
            this.layoutControl8.Controls.Add(this.dtPerformToDate);
            this.layoutControl8.Controls.Add(this.dtPerformFromDate);
            this.layoutControl8.Dock = DockStyle.Fill;
            this.layoutControl8.Location = new Point(3, 0x11);
            this.layoutControl8.Name = "layoutControl8";
            this.layoutControl8.OptionsView.AllowHotTrack = true;
            this.layoutControl8.Root = this.layoutControlGroup8;
            this.layoutControl8.Size = new Size(0xcb, 0x51);
            this.layoutControl8.TabIndex = 0;
            this.layoutControl8.Text = "layoutControl8";
            this.dtPerformToDate.EditValue = null;
            this.dtPerformToDate.Location = new Point(0x43, 0x2a);
            this.dtPerformToDate.Name = "dtPerformToDate";
            this.dtPerformToDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtPerformToDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtPerformToDate.Size = new Size(0x7c, 20);
            this.dtPerformToDate.StyleController = this.layoutControl8;
            this.dtPerformToDate.TabIndex = 1;
            this.dtPerformFromDate.EditValue = null;
            this.dtPerformFromDate.Location = new Point(0x43, 14);
            this.dtPerformFromDate.Name = "dtPerformFromDate";
            this.dtPerformFromDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtPerformFromDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtPerformFromDate.Size = new Size(0x7c, 20);
            this.dtPerformFromDate.StyleController = this.layoutControl8;
            this.dtPerformFromDate.TabIndex = 0;
            this.layoutControlGroup8.CustomizationFormText = "layoutControlGroup8";
            this.layoutControlGroup8.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup8.GroupBordersVisible = false;
            this.layoutControlGroup8.Items.AddRange(new BaseLayoutItem[] { this.layoutControlItem28, this.layoutControlItem29 });
            this.layoutControlGroup8.Location = new Point(0, 0);
            this.layoutControlGroup8.Name = "layoutControlGroup8";
            this.layoutControlGroup8.Size = new Size(0xcb, 0x51);
            this.layoutControlGroup8.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup8.Text = "layoutControlGroup8";
            this.layoutControlGroup8.TextVisible = false;
            this.layoutControlItem28.Control = this.dtPerformFromDate;
            this.layoutControlItem28.CustomizationFormText = "Từ ng\x00e0y:";
            this.layoutControlItem28.Location = new Point(0, 0);
            this.layoutControlItem28.Name = "layoutControlItem28";
            this.layoutControlItem28.Size = new Size(0xb7, 0x1c);
            this.layoutControlItem28.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem28.Text = "Từ ng\x00e0y:";
            this.layoutControlItem28.TextSize = new Size(0x33, 13);
            this.layoutControlItem29.Control = this.dtPerformToDate;
            this.layoutControlItem29.CustomizationFormText = "Đến ng\x00e0y:";
            this.layoutControlItem29.Location = new Point(0, 0x1c);
            this.layoutControlItem29.Name = "layoutControlItem29";
            this.layoutControlItem29.Size = new Size(0xb7, 0x21);
            this.layoutControlItem29.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem29.Text = "Đến ng\x00e0y:";
            this.layoutControlItem29.TextSize = new Size(0x33, 13);
            this.groupBox2.Controls.Add(this.layoutControl4);
            this.groupBox2.Location = new Point(12, 0x36);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new Size(0x133, 0x88);
            this.groupBox2.TabIndex = 2;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "Chi ph\x00ed cho 1 nh\x00e2n vi\x00ean";
            this.layoutControl4.Controls.Add(this.calMoneyOneTotal);
            this.layoutControl4.Controls.Add(this.calMoneyOneCompany);
            this.layoutControl4.Controls.Add(this.calMoneyOneEmployee);
            this.layoutControl4.Dock = DockStyle.Fill;
            this.layoutControl4.Location = new Point(3, 0x11);
            this.layoutControl4.Name = "layoutControl4";
            this.layoutControl4.OptionsView.AllowHotTrack = true;
            this.layoutControl4.Root = this.layoutControlGroup4;
            this.layoutControl4.Size = new Size(0x12d, 0x74);
            this.layoutControl4.TabIndex = 0;
            this.layoutControl4.Text = "layoutControl4";
            bits = new int[4];
            this.calMoneyOneTotal.EditValue = new decimal(bits);
            this.calMoneyOneTotal.Location = new Point(0x5f, 80);
            this.calMoneyOneTotal.Name = "calMoneyOneTotal";
            this.calMoneyOneTotal.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calMoneyOneTotal.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.calMoneyOneTotal.Size = new Size(0xc2, 20);
            this.calMoneyOneTotal.StyleController = this.layoutControl4;
            this.calMoneyOneTotal.TabIndex = 2;
            bits = new int[4];
            this.calMoneyOneCompany.EditValue = new decimal(bits);
            this.calMoneyOneCompany.Location = new Point(0x5f, 0x30);
            this.calMoneyOneCompany.Name = "calMoneyOneCompany";
            this.calMoneyOneCompany.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calMoneyOneCompany.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.calMoneyOneCompany.Size = new Size(0xc2, 20);
            this.calMoneyOneCompany.StyleController = this.layoutControl4;
            this.calMoneyOneCompany.TabIndex = 1;
            bits = new int[4];
            this.calMoneyOneEmployee.EditValue = new decimal(bits);
            this.calMoneyOneEmployee.Location = new Point(0x5f, 0x10);
            this.calMoneyOneEmployee.Name = "calMoneyOneEmployee";
            this.calMoneyOneEmployee.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calMoneyOneEmployee.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.calMoneyOneEmployee.Size = new Size(0xc2, 20);
            this.calMoneyOneEmployee.StyleController = this.layoutControl4;
            this.calMoneyOneEmployee.TabIndex = 0;
            this.layoutControlGroup4.CustomizationFormText = "layoutControlGroup4";
            this.layoutControlGroup4.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup4.GroupBordersVisible = false;
            this.layoutControlGroup4.Items.AddRange(new BaseLayoutItem[] { this.layoutControlItem18, this.layoutControlItem19, this.layoutControlItem20 });
            this.layoutControlGroup4.Location = new Point(0, 0);
            this.layoutControlGroup4.Name = "layoutControlGroup4";
            this.layoutControlGroup4.Size = new Size(0x12d, 0x74);
            this.layoutControlGroup4.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup4.Text = "layoutControlGroup4";
            this.layoutControlGroup4.TextVisible = false;
            this.layoutControlItem18.Control = this.calMoneyOneEmployee;
            this.layoutControlItem18.CustomizationFormText = "Nh\x00e2n vi\x00ean đ\x00f3ng:";
            this.layoutControlItem18.Location = new Point(0, 0);
            this.layoutControlItem18.Name = "layoutControlItem18";
            this.layoutControlItem18.Size = new Size(0x119, 0x20);
            this.layoutControlItem18.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 4, 4);
            this.layoutControlItem18.Text = "Nh\x00e2n vi\x00ean đ\x00f3ng:";
            this.layoutControlItem18.TextSize = new Size(0x4f, 13);
            this.layoutControlItem19.Control = this.calMoneyOneCompany;
            this.layoutControlItem19.CustomizationFormText = "C\x00f4ng ty đ\x00f3ng:";
            this.layoutControlItem19.Location = new Point(0, 0x20);
            this.layoutControlItem19.Name = "layoutControlItem19";
            this.layoutControlItem19.Size = new Size(0x119, 0x20);
            this.layoutControlItem19.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 4, 4);
            this.layoutControlItem19.Text = "C\x00f4ng ty đ\x00f3ng:";
            this.layoutControlItem19.TextSize = new Size(0x4f, 13);
            this.layoutControlItem20.Control = this.calMoneyOneTotal;
            this.layoutControlItem20.CustomizationFormText = "Tổng chi ph\x00ed:";
            this.layoutControlItem20.Location = new Point(0, 0x40);
            this.layoutControlItem20.Name = "layoutControlItem20";
            this.layoutControlItem20.Size = new Size(0x119, 0x20);
            this.layoutControlItem20.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 4, 4);
            this.layoutControlItem20.Text = "Tổng chi ph\x00ed:";
            this.layoutControlItem20.TextSize = new Size(0x4f, 13);
            this.groupBox1.Controls.Add(this.layoutControl5);
            this.groupBox1.Location = new Point(0x143, 0x36);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new Size(0x130, 0x88);
            this.groupBox1.TabIndex = 3;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Chi ph\x00ed tổng";
            this.layoutControl5.Controls.Add(this.calMoneyAllTotal);
            this.layoutControl5.Controls.Add(this.calMoneyAllCompany);
            this.layoutControl5.Controls.Add(this.calMoneyAllEmployee);
            this.layoutControl5.Dock = DockStyle.Fill;
            this.layoutControl5.Location = new Point(3, 0x11);
            this.layoutControl5.Name = "layoutControl5";
            this.layoutControl5.OptionsView.AllowHotTrack = true;
            this.layoutControl5.Root = this.layoutControlGroup5;
            this.layoutControl5.Size = new Size(0x12a, 0x74);
            this.layoutControl5.TabIndex = 0;
            this.layoutControl5.Text = "layoutControl5";
            bits = new int[4];
            this.calMoneyAllTotal.EditValue = new decimal(bits);
            this.calMoneyAllTotal.Location = new Point(0x5f, 80);
            this.calMoneyAllTotal.Name = "calMoneyAllTotal";
            this.calMoneyAllTotal.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calMoneyAllTotal.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.calMoneyAllTotal.Size = new Size(0xbf, 20);
            this.calMoneyAllTotal.StyleController = this.layoutControl5;
            this.calMoneyAllTotal.TabIndex = 2;
            bits = new int[4];
            this.calMoneyAllCompany.EditValue = new decimal(bits);
            this.calMoneyAllCompany.Location = new Point(0x5f, 0x30);
            this.calMoneyAllCompany.Name = "calMoneyAllCompany";
            this.calMoneyAllCompany.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calMoneyAllCompany.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.calMoneyAllCompany.Size = new Size(0xbf, 20);
            this.calMoneyAllCompany.StyleController = this.layoutControl5;
            this.calMoneyAllCompany.TabIndex = 1;
            bits = new int[4];
            this.calMoneyAllEmployee.EditValue = new decimal(bits);
            this.calMoneyAllEmployee.Location = new Point(0x5f, 0x10);
            this.calMoneyAllEmployee.Name = "calMoneyAllEmployee";
            this.calMoneyAllEmployee.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calMoneyAllEmployee.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.calMoneyAllEmployee.Size = new Size(0xbf, 20);
            this.calMoneyAllEmployee.StyleController = this.layoutControl5;
            this.calMoneyAllEmployee.TabIndex = 0;
            this.layoutControlGroup5.CustomizationFormText = "layoutControlGroup5";
            this.layoutControlGroup5.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup5.GroupBordersVisible = false;
            this.layoutControlGroup5.Items.AddRange(new BaseLayoutItem[] { this.layoutControlItem21, this.layoutControlItem22, this.layoutControlItem23 });
            this.layoutControlGroup5.Location = new Point(0, 0);
            this.layoutControlGroup5.Name = "layoutControlGroup5";
            this.layoutControlGroup5.Size = new Size(0x12a, 0x74);
            this.layoutControlGroup5.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup5.Text = "layoutControlGroup5";
            this.layoutControlGroup5.TextVisible = false;
            this.layoutControlItem21.Control = this.calMoneyAllEmployee;
            this.layoutControlItem21.CustomizationFormText = "Nh\x00e2n vi\x00ean đ\x00f3ng:";
            this.layoutControlItem21.Location = new Point(0, 0);
            this.layoutControlItem21.Name = "layoutControlItem21";
            this.layoutControlItem21.Size = new Size(0x116, 0x20);
            this.layoutControlItem21.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 4, 4);
            this.layoutControlItem21.Text = "Nh\x00e2n vi\x00ean đ\x00f3ng:";
            this.layoutControlItem21.TextSize = new Size(0x4f, 13);
            this.layoutControlItem22.Control = this.calMoneyAllCompany;
            this.layoutControlItem22.CustomizationFormText = "C\x00f4ng ty đ\x00f3ng:";
            this.layoutControlItem22.Location = new Point(0, 0x20);
            this.layoutControlItem22.Name = "layoutControlItem22";
            this.layoutControlItem22.Size = new Size(0x116, 0x20);
            this.layoutControlItem22.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 4, 4);
            this.layoutControlItem22.Text = "C\x00f4ng ty đ\x00f3ng:";
            this.layoutControlItem22.TextSize = new Size(0x4f, 13);
            this.layoutControlItem23.Control = this.calMoneyAllTotal;
            this.layoutControlItem23.CustomizationFormText = "Tổng chi ph\x00ed:";
            this.layoutControlItem23.Location = new Point(0, 0x40);
            this.layoutControlItem23.Name = "layoutControlItem23";
            this.layoutControlItem23.Size = new Size(0x116, 0x20);
            this.layoutControlItem23.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 4, 4);
            this.layoutControlItem23.Text = "Tổng chi ph\x00ed:";
            this.layoutControlItem23.TextSize = new Size(0x4f, 13);
            bits = new int[4];
            this.calQuantity.EditValue = new decimal(bits);
            this.calQuantity.Location = new Point(0x69, 14);
            this.calQuantity.Name = "calQuantity";
            this.calQuantity.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calQuantity.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.calQuantity.Size = new Size(0x6a, 20);
            this.calQuantity.StyleController = this.layoutControl2;
            this.calQuantity.TabIndex = 0;
            this.layoutControlGroup2.CustomizationFormText = "layoutControlGroup2";
            this.layoutControlGroup2.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup2.GroupBordersVisible = false;
            this.layoutControlGroup2.Items.AddRange(new BaseLayoutItem[] { this.layoutControlItem8, this.layoutControlItem9, this.layoutControlItem10, this.layoutControlItem11, this.layoutControlItem12, this.layoutControlItem13, this.layoutControlItem14, this.emptySpaceItem1, this.emptySpaceItem2, this.emptySpaceItem4 });
            this.layoutControlGroup2.Location = new Point(0, 0);
            this.layoutControlGroup2.Name = "layoutControlGroup2";
            this.layoutControlGroup2.Size = new Size(0x27f, 0x15d);
            this.layoutControlGroup2.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup2.Text = "layoutControlGroup2";
            this.layoutControlGroup2.TextVisible = false;
            this.layoutControlItem8.Control = this.calQuantity;
            this.layoutControlItem8.CustomizationFormText = "Số lượng học vi\x00ean:";
            this.layoutControlItem8.Location = new Point(0, 0);
            this.layoutControlItem8.Name = "layoutControlItem8";
            this.layoutControlItem8.Size = new Size(0xcb, 0x1c);
            this.layoutControlItem8.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem8.Text = "Số lượng học vi\x00ean:";
            this.layoutControlItem8.TextSize = new Size(0x59, 13);
            this.layoutControlItem9.Control = this.groupBox1;
            this.layoutControlItem9.CustomizationFormText = "layoutControlItem9";
            this.layoutControlItem9.Location = new Point(0x137, 0x2a);
            this.layoutControlItem9.Name = "layoutControlItem9";
            this.layoutControlItem9.Size = new Size(0x134, 140);
            this.layoutControlItem9.Text = "layoutControlItem9";
            this.layoutControlItem9.TextSize = new Size(0, 0);
            this.layoutControlItem9.TextToControlDistance = 0;
            this.layoutControlItem9.TextVisible = false;
            this.layoutControlItem10.Control = this.groupBox2;
            this.layoutControlItem10.CustomizationFormText = "layoutControlItem10";
            this.layoutControlItem10.Location = new Point(0, 0x2a);
            this.layoutControlItem10.Name = "layoutControlItem10";
            this.layoutControlItem10.Size = new Size(0x137, 140);
            this.layoutControlItem10.Text = "layoutControlItem10";
            this.layoutControlItem10.TextSize = new Size(0, 0);
            this.layoutControlItem10.TextToControlDistance = 0;
            this.layoutControlItem10.TextVisible = false;
            this.layoutControlItem11.Control = this.groupBox3;
            this.layoutControlItem11.CustomizationFormText = "layoutControlItem11";
            this.layoutControlItem11.Location = new Point(0x196, 0xb6);
            this.layoutControlItem11.Name = "layoutControlItem11";
            this.layoutControlItem11.Size = new Size(0xd5, 0x69);
            this.layoutControlItem11.Text = "layoutControlItem11";
            this.layoutControlItem11.TextSize = new Size(0, 0);
            this.layoutControlItem11.TextToControlDistance = 0;
            this.layoutControlItem11.TextVisible = false;
            this.layoutControlItem12.Control = this.groupBox4;
            this.layoutControlItem12.CustomizationFormText = "layoutControlItem12";
            this.layoutControlItem12.Location = new Point(0xcf, 0xb6);
            this.layoutControlItem12.Name = "layoutControlItem12";
            this.layoutControlItem12.Size = new Size(0xc7, 0x69);
            this.layoutControlItem12.Text = "layoutControlItem12";
            this.layoutControlItem12.TextSize = new Size(0, 0);
            this.layoutControlItem12.TextToControlDistance = 0;
            this.layoutControlItem12.TextVisible = false;
            this.layoutControlItem13.Control = this.groupBox5;
            this.layoutControlItem13.CustomizationFormText = "layoutControlItem13";
            this.layoutControlItem13.Location = new Point(0, 0xb6);
            this.layoutControlItem13.Name = "layoutControlItem13";
            this.layoutControlItem13.Size = new Size(0xcf, 0x69);
            this.layoutControlItem13.Text = "layoutControlItem13";
            this.layoutControlItem13.TextSize = new Size(0, 0);
            this.layoutControlItem13.TextToControlDistance = 0;
            this.layoutControlItem13.TextVisible = false;
            this.layoutControlItem14.Control = this.calMoneyTotal;
            this.layoutControlItem14.CustomizationFormText = "Tổng chi ph\x00ed đ\x00e0o tạo:";
            this.layoutControlItem14.Location = new Point(0xcb, 0);
            this.layoutControlItem14.Name = "layoutControlItem14";
            this.layoutControlItem14.Size = new Size(0x10c, 0x1c);
            this.layoutControlItem14.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem14.Text = "Tổng chi ph\x00ed đ\x00e0o tạo:";
            this.layoutControlItem14.TextAlignMode = TextAlignModeItem.AutoSize;
            this.layoutControlItem14.TextSize = new Size(0x65, 13);
            this.layoutControlItem14.TextToControlDistance = 5;
            this.emptySpaceItem1.CustomizationFormText = "emptySpaceItem1";
            this.emptySpaceItem1.Location = new Point(0, 0x11f);
            this.emptySpaceItem1.Name = "emptySpaceItem1";
            this.emptySpaceItem1.Size = new Size(0x26b, 0x2a);
            this.emptySpaceItem1.Text = "emptySpaceItem1";
            this.emptySpaceItem1.TextSize = new Size(0, 0);
            this.emptySpaceItem2.CustomizationFormText = "emptySpaceItem2";
            this.emptySpaceItem2.Location = new Point(0x1d7, 0);
            this.emptySpaceItem2.Name = "emptySpaceItem2";
            this.emptySpaceItem2.Size = new Size(0x94, 0x1c);
            this.emptySpaceItem2.Text = "emptySpaceItem2";
            this.emptySpaceItem2.TextSize = new Size(0, 0);
            this.emptySpaceItem4.CustomizationFormText = "emptySpaceItem4";
            this.emptySpaceItem4.Location = new Point(0, 0x1c);
            this.emptySpaceItem4.Name = "emptySpaceItem4";
            this.emptySpaceItem4.Size = new Size(0x26b, 14);
            this.emptySpaceItem4.Text = "emptySpaceItem4";
            this.emptySpaceItem4.TextSize = new Size(0, 0);
            this.xtraTabPage3.Controls.Add(this.layoutControl3);
            this.xtraTabPage3.Name = "xtraTabPage3";
            this.xtraTabPage3.Size = new Size(0x27f, 0x15d);
            this.xtraTabPage3.Text = "Đối T\x00e1c Đ\x00e0o Tạo";
            this.layoutControl3.Controls.Add(this.groupBox7);
            this.layoutControl3.Controls.Add(this.groupBox6);
            this.layoutControl3.Dock = DockStyle.Fill;
            this.layoutControl3.Location = new Point(0, 0);
            this.layoutControl3.Name = "layoutControl3";
            this.layoutControl3.Root = this.layoutControlGroup3;
            this.layoutControl3.Size = new Size(0x27f, 0x15d);
            this.layoutControl3.TabIndex = 0;
            this.layoutControl3.Text = "layoutControl3";
            this.groupBox7.Controls.Add(this.layoutControl10);
            this.groupBox7.Location = new Point(12, 0xb3);
            this.groupBox7.Name = "groupBox7";
            this.groupBox7.Size = new Size(0x267, 0x9e);
            this.groupBox7.TabIndex = 1;
            this.groupBox7.TabStop = false;
            this.groupBox7.Text = "Th\x00f4ng tin người li\x00ean hệ";
            this.layoutControl10.Controls.Add(this.txtPersonEmail);
            this.layoutControl10.Controls.Add(this.txtPersonAddress);
            this.layoutControl10.Controls.Add(this.txtPersonPosition);
            this.layoutControl10.Controls.Add(this.txtPersonName);
            this.layoutControl10.Controls.Add(this.txtPersonPhone);
            this.layoutControl10.Dock = DockStyle.Fill;
            this.layoutControl10.Location = new Point(3, 0x11);
            this.layoutControl10.Name = "layoutControl10";
            this.layoutControl10.OptionsView.AllowHotTrack = true;
            this.layoutControl10.Root = this.layoutControlGroup10;
            this.layoutControl10.Size = new Size(0x261, 0x8a);
            this.layoutControl10.TabIndex = 0;
            this.layoutControl10.Text = "layoutControl10";
            this.txtPersonEmail.Location = new Point(0x52, 0x62);
            this.txtPersonEmail.Name = "txtPersonEmail";
            this.txtPersonEmail.Size = new Size(0x203, 20);
            this.txtPersonEmail.StyleController = this.layoutControl10;
            this.txtPersonEmail.TabIndex = 4;
            this.txtPersonAddress.Location = new Point(0x52, 70);
            this.txtPersonAddress.Name = "txtPersonAddress";
            this.txtPersonAddress.Size = new Size(0x203, 20);
            this.txtPersonAddress.StyleController = this.layoutControl10;
            this.txtPersonAddress.TabIndex = 3;
            this.txtPersonPosition.Location = new Point(0x163, 0x2a);
            this.txtPersonPosition.Name = "txtPersonPosition";
            this.txtPersonPosition.Size = new Size(0xf2, 20);
            this.txtPersonPosition.StyleController = this.layoutControl10;
            this.txtPersonPosition.TabIndex = 2;
            this.txtPersonName.Location = new Point(0x52, 14);
            this.txtPersonName.Name = "txtPersonName";
            this.txtPersonName.Size = new Size(0x203, 20);
            this.txtPersonName.StyleController = this.layoutControl10;
            this.txtPersonName.TabIndex = 0;
            this.txtPersonPhone.Location = new Point(0x52, 0x2a);
            this.txtPersonPhone.Name = "txtPersonPhone";
            this.txtPersonPhone.Size = new Size(220, 20);
            this.txtPersonPhone.StyleController = this.layoutControl10;
            this.txtPersonPhone.TabIndex = 1;
            this.layoutControlGroup10.CustomizationFormText = "layoutControlGroup10";
            this.layoutControlGroup10.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup10.GroupBordersVisible = false;
            this.layoutControlGroup10.Items.AddRange(new BaseLayoutItem[] { this.layoutControlItem33, this.layoutControlItem39, this.layoutControlItem40, this.layoutControlItem41, this.layoutControlItem42 });
            this.layoutControlGroup10.Location = new Point(0, 0);
            this.layoutControlGroup10.Name = "layoutControlGroup10";
            this.layoutControlGroup10.Size = new Size(0x261, 0x8a);
            this.layoutControlGroup10.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup10.Text = "layoutControlGroup10";
            this.layoutControlGroup10.TextVisible = false;
            this.layoutControlItem33.Control = this.txtPersonName;
            this.layoutControlItem33.CustomizationFormText = "Họ t\x00ean:";
            this.layoutControlItem33.Location = new Point(0, 0);
            this.layoutControlItem33.Name = "layoutControlItem33";
            this.layoutControlItem33.Size = new Size(0x24d, 0x1c);
            this.layoutControlItem33.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem33.Text = "Họ t\x00ean:";
            this.layoutControlItem33.TextSize = new Size(0x42, 13);
            this.layoutControlItem39.Control = this.txtPersonPhone;
            this.layoutControlItem39.CustomizationFormText = "Số điện thoại:";
            this.layoutControlItem39.Location = new Point(0, 0x1c);
            this.layoutControlItem39.Name = "layoutControlItem39";
            this.layoutControlItem39.Size = new Size(0x126, 0x1c);
            this.layoutControlItem39.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem39.Text = "Số điện thoại:";
            this.layoutControlItem39.TextSize = new Size(0x42, 13);
            this.layoutControlItem40.Control = this.txtPersonPosition;
            this.layoutControlItem40.CustomizationFormText = "Chức vụ:";
            this.layoutControlItem40.Location = new Point(0x126, 0x1c);
            this.layoutControlItem40.Name = "layoutControlItem40";
            this.layoutControlItem40.Size = new Size(0x127, 0x1c);
            this.layoutControlItem40.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem40.Text = "Chức vụ:";
            this.layoutControlItem40.TextAlignMode = TextAlignModeItem.AutoSize;
            this.layoutControlItem40.TextSize = new Size(0x2c, 13);
            this.layoutControlItem40.TextToControlDistance = 5;
            this.layoutControlItem41.Control = this.txtPersonAddress;
            this.layoutControlItem41.CustomizationFormText = "Địa chỉ:";
            this.layoutControlItem41.Location = new Point(0, 0x38);
            this.layoutControlItem41.Name = "layoutControlItem41";
            this.layoutControlItem41.Size = new Size(0x24d, 0x1c);
            this.layoutControlItem41.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem41.Text = "Địa chỉ:";
            this.layoutControlItem41.TextSize = new Size(0x42, 13);
            this.layoutControlItem42.Control = this.txtPersonEmail;
            this.layoutControlItem42.CustomizationFormText = "Email:";
            this.layoutControlItem42.Location = new Point(0, 0x54);
            this.layoutControlItem42.Name = "layoutControlItem42";
            this.layoutControlItem42.Size = new Size(0x24d, 0x22);
            this.layoutControlItem42.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem42.Text = "Email:";
            this.layoutControlItem42.TextSize = new Size(0x42, 13);
            this.groupBox6.Controls.Add(this.layoutControl9);
            this.groupBox6.Location = new Point(12, 12);
            this.groupBox6.Name = "groupBox6";
            this.groupBox6.Size = new Size(0x267, 0x99);
            this.groupBox6.TabIndex = 0;
            this.groupBox6.TabStop = false;
            this.groupBox6.Text = "Th\x00f4ng tin đối t\x00e1c (trường học)";
            this.layoutControl9.Controls.Add(this.txtPartnerEmail);
            this.layoutControl9.Controls.Add(this.txtPartnerWebsite);
            this.layoutControl9.Controls.Add(this.txtPartnerFax);
            this.layoutControl9.Controls.Add(this.txtPartnerPhone);
            this.layoutControl9.Controls.Add(this.txtPartnerAddress);
            this.layoutControl9.Controls.Add(this.txtPartnerName);
            this.layoutControl9.Dock = DockStyle.Fill;
            this.layoutControl9.Location = new Point(3, 0x11);
            this.layoutControl9.Name = "layoutControl9";
            this.layoutControl9.OptionsView.AllowHotTrack = true;
            this.layoutControl9.Root = this.layoutControlGroup9;
            this.layoutControl9.Size = new Size(0x261, 0x85);
            this.layoutControl9.TabIndex = 0;
            this.layoutControl9.Text = "layoutControl9";
            this.txtPartnerEmail.Location = new Point(0x153, 0x62);
            this.txtPartnerEmail.Name = "txtPartnerEmail";
            this.txtPartnerEmail.Size = new Size(0x102, 20);
            this.txtPartnerEmail.StyleController = this.layoutControl9;
            this.txtPartnerEmail.TabIndex = 5;
            this.txtPartnerWebsite.Location = new Point(0x52, 0x62);
            this.txtPartnerWebsite.Name = "txtPartnerWebsite";
            this.txtPartnerWebsite.Size = new Size(220, 20);
            this.txtPartnerWebsite.StyleController = this.layoutControl9;
            this.txtPartnerWebsite.TabIndex = 4;
            this.txtPartnerFax.Location = new Point(0x14d, 70);
            this.txtPartnerFax.Name = "txtPartnerFax";
            this.txtPartnerFax.Size = new Size(0x108, 20);
            this.txtPartnerFax.StyleController = this.layoutControl9;
            this.txtPartnerFax.TabIndex = 3;
            this.txtPartnerPhone.Location = new Point(0x52, 70);
            this.txtPartnerPhone.Name = "txtPartnerPhone";
            this.txtPartnerPhone.Size = new Size(220, 20);
            this.txtPartnerPhone.StyleController = this.layoutControl9;
            this.txtPartnerPhone.TabIndex = 2;
            this.txtPartnerAddress.Location = new Point(0x52, 0x2a);
            this.txtPartnerAddress.Name = "txtPartnerAddress";
            this.txtPartnerAddress.Size = new Size(0x203, 20);
            this.txtPartnerAddress.StyleController = this.layoutControl9;
            this.txtPartnerAddress.TabIndex = 1;
            this.txtPartnerName.Location = new Point(0x52, 14);
            this.txtPartnerName.Name = "txtPartnerName";
            this.txtPartnerName.Size = new Size(0x203, 20);
            this.txtPartnerName.StyleController = this.layoutControl9;
            this.txtPartnerName.TabIndex = 0;
            this.layoutControlGroup9.CustomizationFormText = "layoutControlGroup9";
            this.layoutControlGroup9.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup9.GroupBordersVisible = false;
            this.layoutControlGroup9.Items.AddRange(new BaseLayoutItem[] { this.layoutControlItem32, this.layoutControlItem34, this.layoutControlItem35, this.layoutControlItem36, this.layoutControlItem37, this.layoutControlItem38 });
            this.layoutControlGroup9.Location = new Point(0, 0);
            this.layoutControlGroup9.Name = "layoutControlGroup9";
            this.layoutControlGroup9.Size = new Size(0x261, 0x85);
            this.layoutControlGroup9.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup9.Text = "layoutControlGroup9";
            this.layoutControlGroup9.TextVisible = false;
            this.layoutControlItem32.Control = this.txtPartnerName;
            this.layoutControlItem32.CustomizationFormText = "T\x00ean đối t\x00e1c:";
            this.layoutControlItem32.Location = new Point(0, 0);
            this.layoutControlItem32.Name = "layoutControlItem32";
            this.layoutControlItem32.Size = new Size(0x24d, 0x1c);
            this.layoutControlItem32.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem32.Text = "T\x00ean đối t\x00e1c:";
            this.layoutControlItem32.TextSize = new Size(0x42, 13);
            this.layoutControlItem34.Control = this.txtPartnerAddress;
            this.layoutControlItem34.CustomizationFormText = "Địa chỉ:";
            this.layoutControlItem34.Location = new Point(0, 0x1c);
            this.layoutControlItem34.Name = "layoutControlItem34";
            this.layoutControlItem34.Size = new Size(0x24d, 0x1c);
            this.layoutControlItem34.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem34.Text = "Địa chỉ:";
            this.layoutControlItem34.TextSize = new Size(0x42, 13);
            this.layoutControlItem35.Control = this.txtPartnerPhone;
            this.layoutControlItem35.CustomizationFormText = "Số điện thoại:";
            this.layoutControlItem35.Location = new Point(0, 0x38);
            this.layoutControlItem35.Name = "layoutControlItem35";
            this.layoutControlItem35.Size = new Size(0x126, 0x1c);
            this.layoutControlItem35.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem35.Text = "Số điện thoại:";
            this.layoutControlItem35.TextSize = new Size(0x42, 13);
            this.layoutControlItem36.Control = this.txtPartnerFax;
            this.layoutControlItem36.CustomizationFormText = "Fax:";
            this.layoutControlItem36.Location = new Point(0x126, 0x38);
            this.layoutControlItem36.Name = "layoutControlItem36";
            this.layoutControlItem36.Size = new Size(0x127, 0x1c);
            this.layoutControlItem36.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem36.Text = "Fax:";
            this.layoutControlItem36.TextAlignMode = TextAlignModeItem.AutoSize;
            this.layoutControlItem36.TextSize = new Size(0x16, 13);
            this.layoutControlItem36.TextToControlDistance = 5;
            this.layoutControlItem37.Control = this.txtPartnerWebsite;
            this.layoutControlItem37.CustomizationFormText = "Website:";
            this.layoutControlItem37.Location = new Point(0, 0x54);
            this.layoutControlItem37.Name = "layoutControlItem37";
            this.layoutControlItem37.Size = new Size(0x126, 0x1d);
            this.layoutControlItem37.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem37.Text = "Website:";
            this.layoutControlItem37.TextSize = new Size(0x42, 13);
            this.layoutControlItem38.Control = this.txtPartnerEmail;
            this.layoutControlItem38.CustomizationFormText = "Email:";
            this.layoutControlItem38.Location = new Point(0x126, 0x54);
            this.layoutControlItem38.Name = "layoutControlItem38";
            this.layoutControlItem38.Size = new Size(0x127, 0x1d);
            this.layoutControlItem38.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 2, 2);
            this.layoutControlItem38.Text = "Email:";
            this.layoutControlItem38.TextAlignMode = TextAlignModeItem.AutoSize;
            this.layoutControlItem38.TextSize = new Size(0x1c, 13);
            this.layoutControlItem38.TextToControlDistance = 5;
            this.layoutControlGroup3.CustomizationFormText = "layoutControlGroup3";
            this.layoutControlGroup3.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup3.GroupBordersVisible = false;
            this.layoutControlGroup3.Items.AddRange(new BaseLayoutItem[] { this.layoutControlItem30, this.layoutControlItem31, this.emptySpaceItem3 });
            this.layoutControlGroup3.Location = new Point(0, 0);
            this.layoutControlGroup3.Name = "layoutControlGroup3";
            this.layoutControlGroup3.Size = new Size(0x27f, 0x15d);
            this.layoutControlGroup3.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup3.Text = "layoutControlGroup3";
            this.layoutControlGroup3.TextVisible = false;
            this.layoutControlItem30.Control = this.groupBox6;
            this.layoutControlItem30.CustomizationFormText = "layoutControlItem30";
            this.layoutControlItem30.Location = new Point(0, 0);
            this.layoutControlItem30.Name = "layoutControlItem30";
            this.layoutControlItem30.Size = new Size(0x26b, 0x9d);
            this.layoutControlItem30.Text = "layoutControlItem30";
            this.layoutControlItem30.TextSize = new Size(0, 0);
            this.layoutControlItem30.TextToControlDistance = 0;
            this.layoutControlItem30.TextVisible = false;
            this.layoutControlItem31.Control = this.groupBox7;
            this.layoutControlItem31.CustomizationFormText = "layoutControlItem31";
            this.layoutControlItem31.Location = new Point(0, 0xa7);
            this.layoutControlItem31.Name = "layoutControlItem31";
            this.layoutControlItem31.Size = new Size(0x26b, 0xa2);
            this.layoutControlItem31.Text = "layoutControlItem31";
            this.layoutControlItem31.TextSize = new Size(0, 0);
            this.layoutControlItem31.TextToControlDistance = 0;
            this.layoutControlItem31.TextVisible = false;
            this.emptySpaceItem3.CustomizationFormText = "emptySpaceItem3";
            this.emptySpaceItem3.Location = new Point(0, 0x9d);
            this.emptySpaceItem3.Name = "emptySpaceItem3";
            this.emptySpaceItem3.Size = new Size(0x26b, 10);
            this.emptySpaceItem3.Text = "emptySpaceItem3";
            this.emptySpaceItem3.TextSize = new Size(0, 0);
            this.labelControl15.AllowHtmlString = true;
            this.labelControl15.Location = new Point(11, 0x18d);
            this.labelControl15.Name = "labelControl15";
            this.labelControl15.Size = new Size(70, 14);
            this.labelControl15.TabIndex = 1;
            this.labelControl15.Text = "Trạng th\x00e1i <color=red>(*)</color>:";
            this.cboStatus.EditValue = "L\x00ean kế hoạch";
            this.cboStatus.Location = new Point(0x58, 0x18b);
            this.cboStatus.Name = "cboStatus";
            this.cboStatus.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.cboStatus.Properties.Items.AddRange(new object[] { "L\x00ean kế hoạch", "Đang thực hiện", "Đ\x00e3 thực hiện" });
            this.cboStatus.Properties.TextEditStyle = TextEditStyles.DisableTextEditor;
            this.cboStatus.Size = new Size(0xa7, 20);
            this.cboStatus.TabIndex = 2;
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode = AutoScaleMode.Font;
            base.Controls.Add(this.labelControl15);
            base.Controls.Add(this.cboStatus);
            base.Controls.Add(this.xtraTabControl1);
            base.Name = "xucTrainingAdd";
            base.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
            base.Size = new Size(0x286, 0x1b0);
            base.Controls.SetChildIndex(base.btnSaveNew, 0);
            base.Controls.SetChildIndex(base.btnSave, 0);
            base.Controls.SetChildIndex(base.btnCancel, 0);
            base.Controls.SetChildIndex(this.xtraTabControl1, 0);
            base.Controls.SetChildIndex(this.cboStatus, 0);
            base.Controls.SetChildIndex(this.labelControl15, 0);
            ((ISupportInitialize) base.Err).EndInit();
            base.imageCollection2.EndInit();
            this.xtraTabControl1.EndInit();
            this.xtraTabControl1.ResumeLayout(false);
            this.xtraTabPage1.ResumeLayout(false);
            this.layoutControl1.EndInit();
            this.layoutControl1.ResumeLayout(false);
            this.txtCertificate.Properties.EndInit();
            this.txtDecidePerson.Properties.EndInit();
            this.dtDecideDate.Properties.VistaTimeProperties.EndInit();
            this.dtDecideDate.Properties.EndInit();
            this.txtDecideNumber.Properties.EndInit();
            this.txtLocation.Properties.EndInit();
            this.txtForm.Properties.EndInit();
            this.txtPurpose.Properties.EndInit();
            this.txtDescription.Properties.EndInit();
            this.txtNAME.Properties.EndInit();
            this.txtID.Properties.EndInit();
            this.layoutControlGroup1.EndInit();
            this.layoutControlItem1.EndInit();
            this.layoutControlItem2.EndInit();
            this.layoutControlItem3.EndInit();
            this.layoutControlItem4.EndInit();
            this.layoutControlItem5.EndInit();
            this.layoutControlItem6.EndInit();
            this.layoutControlItem15.EndInit();
            this.layoutControlItem16.EndInit();
            this.layoutControlItem17.EndInit();
            this.layoutControlItem7.EndInit();
            this.xtraTabPage2.ResumeLayout(false);
            this.layoutControl2.EndInit();
            this.layoutControl2.ResumeLayout(false);
            this.calMoneyTotal.Properties.EndInit();
            this.groupBox5.ResumeLayout(false);
            this.layoutControl6.EndInit();
            this.layoutControl6.ResumeLayout(false);
            this.dtPrepareToDate.Properties.VistaTimeProperties.EndInit();
            this.dtPrepareToDate.Properties.EndInit();
            this.dtPrepareFromDate.Properties.VistaTimeProperties.EndInit();
            this.dtPrepareFromDate.Properties.EndInit();
            this.layoutControlGroup6.EndInit();
            this.layoutControlItem24.EndInit();
            this.layoutControlItem25.EndInit();
            this.groupBox4.ResumeLayout(false);
            this.layoutControl7.EndInit();
            this.layoutControl7.ResumeLayout(false);
            this.dtRegisterToDate.Properties.VistaTimeProperties.EndInit();
            this.dtRegisterToDate.Properties.EndInit();
            this.dtRegisterFromDate.Properties.VistaTimeProperties.EndInit();
            this.dtRegisterFromDate.Properties.EndInit();
            this.layoutControlGroup7.EndInit();
            this.layoutControlItem26.EndInit();
            this.layoutControlItem27.EndInit();
            this.groupBox3.ResumeLayout(false);
            this.layoutControl8.EndInit();
            this.layoutControl8.ResumeLayout(false);
            this.dtPerformToDate.Properties.VistaTimeProperties.EndInit();
            this.dtPerformToDate.Properties.EndInit();
            this.dtPerformFromDate.Properties.VistaTimeProperties.EndInit();
            this.dtPerformFromDate.Properties.EndInit();
            this.layoutControlGroup8.EndInit();
            this.layoutControlItem28.EndInit();
            this.layoutControlItem29.EndInit();
            this.groupBox2.ResumeLayout(false);
            this.layoutControl4.EndInit();
            this.layoutControl4.ResumeLayout(false);
            this.calMoneyOneTotal.Properties.EndInit();
            this.calMoneyOneCompany.Properties.EndInit();
            this.calMoneyOneEmployee.Properties.EndInit();
            this.layoutControlGroup4.EndInit();
            this.layoutControlItem18.EndInit();
            this.layoutControlItem19.EndInit();
            this.layoutControlItem20.EndInit();
            this.groupBox1.ResumeLayout(false);
            this.layoutControl5.EndInit();
            this.layoutControl5.ResumeLayout(false);
            this.calMoneyAllTotal.Properties.EndInit();
            this.calMoneyAllCompany.Properties.EndInit();
            this.calMoneyAllEmployee.Properties.EndInit();
            this.layoutControlGroup5.EndInit();
            this.layoutControlItem21.EndInit();
            this.layoutControlItem22.EndInit();
            this.layoutControlItem23.EndInit();
            this.calQuantity.Properties.EndInit();
            this.layoutControlGroup2.EndInit();
            this.layoutControlItem8.EndInit();
            this.layoutControlItem9.EndInit();
            this.layoutControlItem10.EndInit();
            this.layoutControlItem11.EndInit();
            this.layoutControlItem12.EndInit();
            this.layoutControlItem13.EndInit();
            this.layoutControlItem14.EndInit();
            this.emptySpaceItem1.EndInit();
            this.emptySpaceItem2.EndInit();
            this.emptySpaceItem4.EndInit();
            this.xtraTabPage3.ResumeLayout(false);
            this.layoutControl3.EndInit();
            this.layoutControl3.ResumeLayout(false);
            this.groupBox7.ResumeLayout(false);
            this.layoutControl10.EndInit();
            this.layoutControl10.ResumeLayout(false);
            this.txtPersonEmail.Properties.EndInit();
            this.txtPersonAddress.Properties.EndInit();
            this.txtPersonPosition.Properties.EndInit();
            this.txtPersonName.Properties.EndInit();
            this.txtPersonPhone.Properties.EndInit();
            this.layoutControlGroup10.EndInit();
            this.layoutControlItem33.EndInit();
            this.layoutControlItem39.EndInit();
            this.layoutControlItem40.EndInit();
            this.layoutControlItem41.EndInit();
            this.layoutControlItem42.EndInit();
            this.groupBox6.ResumeLayout(false);
            this.layoutControl9.EndInit();
            this.layoutControl9.ResumeLayout(false);
            this.txtPartnerEmail.Properties.EndInit();
            this.txtPartnerWebsite.Properties.EndInit();
            this.txtPartnerFax.Properties.EndInit();
            this.txtPartnerPhone.Properties.EndInit();
            this.txtPartnerAddress.Properties.EndInit();
            this.txtPartnerName.Properties.EndInit();
            this.layoutControlGroup9.EndInit();
            this.layoutControlItem32.EndInit();
            this.layoutControlItem34.EndInit();
            this.layoutControlItem35.EndInit();
            this.layoutControlItem36.EndInit();
            this.layoutControlItem37.EndInit();
            this.layoutControlItem38.EndInit();
            this.layoutControlGroup3.EndInit();
            this.layoutControlItem30.EndInit();
            this.layoutControlItem31.EndInit();
            this.emptySpaceItem3.EndInit();
            this.cboStatus.Properties.EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }

        private void RaiseSuccessEventHander(HRM_TRAINING item)
        {
            if (this.Success != null)
            {
                this.Success(this, item);
            }
        }

        public void SetData(HRM_TRAINING item)
        {
            this.txtID.Text = item.TrainingCode;
            SYS_LOG.Insert("Khen Thưởng", "Xem", this.txtID.Text);
            if (base.m_Status == Actions.Update)
            {
                this.txtID.Properties.ReadOnly = true;
            }
            this.txtNAME.Text = item.TrainingName;
            this.txtDescription.Text = item.Description;
            this.txtPurpose.Text = item.Purpose;
            this.txtForm.Text = item.Form;
            this.txtLocation.Text = item.Location;
            this.txtCertificate.Text = item.Certificate;
            this.txtDecideNumber.Text = item.DecideNumber;
            this.dtDecideDate.DateTime = item.DecideDate;
            this.txtDecidePerson.Text = item.DecidePerson;
            this.calQuantity.EditValue = item.Quantity;
            this.calMoneyTotal.EditValue = item.MoneyTotal;
            this.calMoneyOneEmployee.EditValue = item.MoneyOneEmployee;
            this.calMoneyOneCompany.EditValue = item.MoneyOneCompany;
            this.calMoneyOneTotal.EditValue = item.MoneyOneTotal;
            this.calMoneyAllEmployee.EditValue = item.MoneyAllEmployee;
            this.calMoneyAllCompany.EditValue = item.MoneyAllCompany;
            this.calMoneyAllTotal.EditValue = item.MoneyAllTotal;
            this.dtPrepareFromDate.DateTime = item.PrepareFromDate;
            this.dtPrepareToDate.DateTime = item.PrepareToDate;
            this.dtRegisterFromDate.DateTime = item.RegisterFromDate;
            this.dtRegisterToDate.DateTime = item.RegisterToDate;
            this.dtPerformFromDate.DateTime = item.PerformFromDate;
            this.dtPerformToDate.DateTime = item.PerformToDate;
            this.txtPartnerName.Text = item.PartnerName;
            this.txtPartnerAddress.Text = item.PartnerAddress;
            this.txtPartnerPhone.Text = item.PartnerPhone;
            this.txtPartnerFax.Text = item.PartnerFax;
            this.txtPartnerWebsite.Text = item.PartnerWebsite;
            this.txtPartnerEmail.Text = item.PartnerEmail;
            this.txtPersonName.Text = item.PersonName;
            this.txtPersonPhone.Text = item.PersonPhone;
            this.txtPersonPosition.Text = item.PersonPosition;
            this.txtPersonAddress.Text = item.PersonAddress;
            this.txtPersonEmail.Text = item.PersonEmail;
            this.cboStatus.SelectedIndex = item.Status;
        }

        private void txtID_EditValueChanged(object sender, EventArgs e)
        {
            TextEdit control = (TextEdit) sender;
            if (control.ErrorText != string.Empty)
            {
                base.Err.SetError(control, string.Empty);
            }
            if (base.m_Status == Actions.Add)
            {
                HRM_TRAINING hrm_training = new HRM_TRAINING();
                if (hrm_training.Exist(control.Text))
                {
                    base.Err.SetError(control, "M\x00e3 đ\x00e3 tồn tại.");
                    control.Focus();
                }
            }
        }

        protected override string uc_Change()
        {
            return string.Empty;
        }

        protected override string uc_Delete()
        {
            HRM_TRAINING item = new HRM_TRAINING {
                TrainingCode = this.txtID.Text
            };
            string str = item.Delete();
            if (str == "OK")
            {
                this.RaiseSuccessEventHander(item);
            }
            return str;
        }

        protected override string uc_Save()
        {
            if (MyRule.Get(MyLogin.RoleId, "bbiTraining") != "OK")
            {
                return "";
            }
            if (!MyRule.AllowAdd)
            {
                MyRule.Notify();
                return "";
            }
            SYS_LOG.Insert("Khen Thưởng", "Th\x00eam", this.txtID.Text);
            base.SetWaitDialogCaption("Đang lưu dữ liệu...");
            Cursor.Current = Cursors.WaitCursor;
            HRM_TRAINING item = new HRM_TRAINING {
                TrainingCode = this.txtID.Text,
                TrainingName = this.txtNAME.Text,
                Description = this.txtDescription.Text,
                Purpose = this.txtPurpose.Text,
                Form = this.txtForm.Text,
                Location = this.txtLocation.Text,
                Certificate = this.txtCertificate.Text,
                DecideNumber = this.txtDecideNumber.Text,
                DecideDate = this.dtDecideDate.DateTime,
                DecidePerson = this.txtDecidePerson.Text,
                Quantity = int.Parse(this.calQuantity.EditValue.ToString()),
                MoneyTotal = decimal.Parse(this.calMoneyTotal.EditValue.ToString()),
                MoneyOneEmployee = decimal.Parse(this.calMoneyOneEmployee.EditValue.ToString()),
                MoneyOneCompany = decimal.Parse(this.calMoneyOneCompany.EditValue.ToString()),
                MoneyOneTotal = decimal.Parse(this.calMoneyOneTotal.EditValue.ToString()),
                MoneyAllEmployee = decimal.Parse(this.calMoneyAllEmployee.EditValue.ToString()),
                MoneyAllCompany = decimal.Parse(this.calMoneyAllCompany.EditValue.ToString()),
                MoneyAllTotal = decimal.Parse(this.calMoneyAllTotal.EditValue.ToString()),
                PrepareFromDate = this.dtPrepareFromDate.DateTime,
                PrepareToDate = this.dtPrepareToDate.DateTime,
                RegisterFromDate = this.dtRegisterFromDate.DateTime,
                RegisterToDate = this.dtRegisterToDate.DateTime,
                PerformFromDate = this.dtPrepareFromDate.DateTime,
                PerformToDate = this.dtPerformToDate.DateTime,
                PartnerName = this.txtPartnerName.Text,
                PartnerAddress = this.txtPartnerAddress.Text,
                PartnerPhone = this.txtPartnerPhone.Text,
                PartnerFax = this.txtPartnerFax.Text,
                PartnerWebsite = this.txtPartnerWebsite.Text,
                PartnerEmail = this.txtPartnerEmail.Text,
                PersonName = this.txtPersonName.Text,
                PersonPhone = this.txtPersonPhone.Text,
                PersonPosition = this.txtPersonPosition.Text,
                PersonAddress = this.txtPersonAddress.Text,
                PersonEmail = this.txtPersonEmail.Text,
                Status = this.cboStatus.SelectedIndex
            };
            string text = item.Insert();
            if (text == "OK")
            {
                this.RaiseSuccessEventHander(item);
            }
            Cursor.Current = Cursors.Default;
            this.DoHide();
            if (text != "OK")
            {
                XtraMessageBox.Show(text, "Cảnh B\x00e1o", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }
            return text;
        }

        protected override string uc_Update()
        {
            if (MyRule.Get(MyLogin.RoleId, "bbiTraining") != "OK")
            {
                return "";
            }
            if (!MyRule.AllowEdit)
            {
                MyRule.Notify();
                return "";
            }
            SYS_LOG.Insert("Đợt Đ\x00e0o Tạo", "Cập Nhật", this.txtID.Text);
            base.SetWaitDialogCaption("Đang cập nhật dữ liệu...");
            HRM_TRAINING item = new HRM_TRAINING {
                TrainingCode = this.txtID.Text,
                TrainingName = this.txtNAME.Text,
                Description = this.txtDescription.Text,
                Purpose = this.txtPurpose.Text,
                Form = this.txtForm.Text,
                Location = this.txtLocation.Text,
                Certificate = this.txtCertificate.Text,
                DecideNumber = this.txtDecideNumber.Text,
                DecideDate = this.dtDecideDate.DateTime,
                DecidePerson = this.txtDecidePerson.Text,
                Quantity = int.Parse(this.calQuantity.EditValue.ToString()),
                MoneyTotal = decimal.Parse(this.calMoneyTotal.EditValue.ToString()),
                MoneyOneEmployee = decimal.Parse(this.calMoneyOneEmployee.EditValue.ToString()),
                MoneyOneCompany = decimal.Parse(this.calMoneyOneCompany.EditValue.ToString()),
                MoneyOneTotal = decimal.Parse(this.calMoneyOneTotal.EditValue.ToString()),
                MoneyAllEmployee = decimal.Parse(this.calMoneyAllEmployee.EditValue.ToString()),
                MoneyAllCompany = decimal.Parse(this.calMoneyAllCompany.EditValue.ToString()),
                MoneyAllTotal = decimal.Parse(this.calMoneyAllTotal.EditValue.ToString()),
                PrepareFromDate = this.dtPrepareFromDate.DateTime,
                PrepareToDate = this.dtPrepareToDate.DateTime,
                RegisterFromDate = this.dtRegisterFromDate.DateTime,
                RegisterToDate = this.dtRegisterToDate.DateTime,
                PerformFromDate = this.dtPrepareFromDate.DateTime,
                PerformToDate = this.dtPerformToDate.DateTime,
                PartnerName = this.txtPartnerName.Text,
                PartnerAddress = this.txtPartnerAddress.Text,
                PartnerPhone = this.txtPartnerPhone.Text,
                PartnerFax = this.txtPartnerFax.Text,
                PartnerWebsite = this.txtPartnerWebsite.Text,
                PartnerEmail = this.txtPartnerEmail.Text,
                PersonName = this.txtPersonName.Text,
                PersonPhone = this.txtPersonPhone.Text,
                PersonPosition = this.txtPersonPosition.Text,
                PersonAddress = this.txtPersonAddress.Text,
                PersonEmail = this.txtPersonEmail.Text,
                Status = this.cboStatus.SelectedIndex
            };
            string text = item.Update();
            if (text == "OK")
            {
                this.RaiseSuccessEventHander(item);
            }
            if (text != "OK")
            {
                XtraMessageBox.Show(text, "Cảnh B\x00e1o", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }
            this.DoHide();
            return text;
        }

        public delegate void SuccessEventHander(object sender, HRM_TRAINING item);
    }
}

